A number of changes to get save-restore working again:
authoremellor@ewan <emellor@ewan>
Thu, 22 Sep 2005 15:05:44 +0000 (16:05 +0100)
committeremellor@ewan <emellor@ewan>
Thu, 22 Sep 2005 15:05:44 +0000 (16:05 +0100)
commit9f70470c55c315477c870bb73494592dd501b630
treef69a3050f310617049f07500910f30691260f3df
parent6c2a23bb96b1bc9531804d20023bc20f240f6587
A number of changes to get save-restore working again:

Fix the use of configuration inside domain_configure.  The config written by
XendDomainInfo.sxpr has moved, and this function needs to change to match.

Re-add a call to _add_domain inside domain_restore.

Inside XendDomainInfo.restore, perform the appropriate configuration to restore
the domain.

Validate maxmem_KiB, and cap it at memory_KiB if over that value.  Save
requires that value to be correct, as the logic for saving only the pages
in use is not in place inside Xen.

Output the device configuration in sxpr(), as required for save-restore.

Check for image being null when trying to call createDeviceModel -- configure
is called on restore as well as create, and the ImageHandler instance is not
present in the former.

Remove dead code create_blkif.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
tools/python/xen/xend/XendDomain.py
tools/python/xen/xend/XendDomainInfo.py